package com.zhuxiang.test1;

/**
 * 自定义年龄异常类：当输入的年龄不在0-100之间，则出现异常
 */
public class AgeException extends Exception {
    private static final long serialVersionUID = 3183390390749283962L;

    public AgeException(){

    }

    public AgeException(String msg){
        super(msg);
    }
}
